package com.moon.mybatisplus.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.moon.mybatisplus.entity.Master;
import com.moon.mybatisplus.mapper.master.MasterMapper;
import com.moon.mybatisplus.service.MasterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ：xxx
 * @description：TODO
 * @date ：2023/12/14 15:35
 */
@Service
public class MasterServiceImpl extends ServiceImpl<MasterMapper, Master> implements MasterService {

    @Autowired
    private MasterMapper masterMapper;



    public List<Master> getMaster(Integer id) {
        return masterMapper.selectMaster(id);
    }
}
